package com.yyk.yykywd.bean;

/**
接口7：我的名片（ggk）

 */

public class CenterCarInfo {


    @Override
    public String toString() {
        return "CenterCarInfo{" +
                "code=" + code +
                ", msg='" + msg + '\'' +
                ", data=" + data +
                '}';
    }

    /**
     * code : 1
     * msg : 返回成功
     * data : {"id":1,"uid":1,"name":"测试","pic":null,"position":"经理","phone":"13188718115","wechat":"1764444","mail":"176@qq.com"}
     */

    private int code;
    private String msg;
    private DataBean data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        @Override
        public String toString() {
            return "DataBean{" +
                    "id=" + id +
                    ", uid=" + uid +
                    ", name='" + name + '\'' +
                    ", pic=" + pic +
                    ", position='" + position + '\'' +
                    ", phone='" + phone + '\'' +
                    ", wechat='" + wechat + '\'' +
                    ", mail='" + mail + '\'' +
                    '}';
        }

        /**
         * id : 1
         * uid : 1
         * name : 测试
         * pic : null
         * position : 经理
         * phone : 13188718115
         * wechat : 1764444
         * mail : 176@qq.com
         */

        private int id;
        private int uid;
        private String name;
        private Object pic;
        private String position;
        private String phone;
        private String wechat;
        private String mail;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getUid() {
            return uid;
        }

        public void setUid(int uid) {
            this.uid = uid;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public Object getPic() {
            return pic;
        }

        public void setPic(Object pic) {
            this.pic = pic;
        }

        public String getPosition() {
            return position == null ? "" : position;
        }

        public void setPosition(String position) {
            this.position = position;
        }

        public String getPhone() {
            return phone;
        }

        public void setPhone(String phone) {
            this.phone = phone;
        }

        public String getWechat() {
            return wechat;
        }

        public void setWechat(String wechat) {
            this.wechat = wechat;
        }

        public String getMail() {
            return mail;
        }

        public void setMail(String mail) {
            this.mail = mail;
        }
    }
}
